package com.ruoyi.system.domain.bo;

import cn.hutool.core.util.ObjectUtil;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.exception.ServiceException;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NonNull;

import javax.validation.constraints.NotNull;

/**
 *
 * @author ruoyi
 * @date 2024-06-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DyOrderGoodsBo extends BaseEntity {

    /**
     * 主播id
     */
    private Long anchorId;

    /**
     * id
     */
    @NotNull(message = "参数错误", groups = {AddGroup.class})
    private Long goodsId;

    /**
     * 支付方式(0微信，1支付宝, 2汇付支付宝, 3汇付微信)
     */
    private Long payType;

    /**
     * 第三方支付号
     */
    private String tradeNo;

    /**
     * 支付凭证
     */
    private String payUrl;

    /**
     * 备注
     */
    private String remark;

    /**
     * openid
     */
    private String openId;


}
